package com.lottery.common.entity;

    import java.math.BigDecimal;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import com.fasterxml.jackson.annotation.JsonInclude;
    import com.lottery.common.model.BaseModel;
    import java.util.Date;

    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 赛事信息表
    * </p>
*
* @author jobob
* @since 2019-09-23
*/
    @Data
        @EqualsAndHashCode(callSuper = true)
    @Accessors(chain = true)
    @TableName("tb_events_info")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModel(value="TbEventsInfo对象", description="赛事信息表")
    public class EventsInfo extends BaseModel {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "赛事名称")
    private String name;

    private Date createTime;

    @TableField(exist=false)
    @ApiModelProperty(value = "是否已购此条信息 1已购 0未购")
    private Integer whether;

    @ApiModelProperty(value = "赛事时间")
    private Date eventsTime;

    @TableField(exist=false)
    @ApiModelProperty(value = "赛事时间")
    private String eventsTimeStr;

    @ApiModelProperty(value = "主队")
    private String homeTeam;

    @ApiModelProperty(value = "主队图片")
    private String homeTeamImg;

    @ApiModelProperty(value = "客队")
    private String visitingTeam;

    @ApiModelProperty(value = "客队图片")
    private String visitingTeamImg;

    @ApiModelProperty(value = "推荐选项")
    private String recommend;

    @ApiModelProperty(value = "预测盈利")
    private BigDecimal forecast;

    @ApiModelProperty(value = "推荐理由(会员专属)")
    private String recommendReason;

//    @ApiModelProperty(value = "是否要支付 0 需要")
//    private Integer isPay;

    @ApiModelProperty(value = "查看费由")
    private BigDecimal price;

    @ApiModelProperty(value = "赛事推荐类型 ")
    private Integer type;

    @ApiModelProperty(value = "是否删除")
    private Integer isDel;

    @ApiModelProperty(value = "是否热门")
    private Integer isHot;

    @ApiModelProperty(value = "赛事类型 1足球 ")
    private Integer eventsType;

    @ApiModelProperty(value = "定制类型")
    private String customType;

    @TableField(exist=false)
    @ApiModelProperty(value = "定制类型")
    private String customTypeStr;
}
